package com.dlg.commons.exception;

/**
 * 数据删除异常
 * 
 * @author martin_duan@yeah.net
 * @since 2016-05-16
 *
 */
public class DataDeleteException extends RuntimeException {

	private static final long serialVersionUID = 1L;
	
	private String message;

	public DataDeleteException(String message, Throwable cause) {
		super(message, cause);
	}

	public DataDeleteException(String message) {
		this.message = message;
	}

	public DataDeleteException(Throwable cause) {
		super(cause);
	}
	
	@Override
	public String getMessage() {
		return this.message;
	}
}
